package com.glsc.ngateway.common.api.flowable.dto.task.config;

import com.glsc.ngateway.common.api.common.dto.BaseEntityDto;
import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * @author xuchang
 */
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class FlowConfigDto extends BaseEntityDto {

    private static final long serialVersionUID = -6210156915981521200L;

    @NotNull
    private String processDefKey;

    @NotNull
    private String taskDefKey;

    @NotNull
    private String configType;

    @NotNull
    private String valueType;

    @NotNull
    private List<String> value;

    @NotNull
    private List<String> valueList;

    private String remark;

    private String taskAssigneeGroupName;

    private String conditionalVariableKeyName;

    private ProcessEditConfigDto editConfigDto;
}
